<template>
  <ul>
    <nuxt-link v-for="user in users" :key="user.id" :to="'user/' + user.id">
      {{user.name}}
    </nuxt-link>
  </ul>
</template>

<script>
export default {
  name: 'foo',
  props: ['users']
}
</script>